<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Browse Books</title>
<link rel="stylesheet" href="mystyle.css">
</head>
<body>
	<h1 align="center">Browse Movie</h1>
	<s:form action="browseMovies.action" method="post">

		<table>
			<tr>
				<th><h2>Title</h2></th>
				<th><h2>Theatre Name</h2></th>
				<th><h2>Theatre Location</h2></th>
				<th><h2>Show1</h2></th>
				<th><h2>Show2</h2></th>
				<th><h2>Show3</h2></th>
				<th><h2>Show4</h2></th>
			</tr>
			<s:iterator value="movies">
				<tr>
					<td><h3>
							<s:property value="title" />
						</h3></td>
					<td><h3>
							<s:property value="theatre_name" />
						</h3></td>
					<td><h3>
							<s:property value="theatre_loc" />
						</h3></td>
					<td><h3>
							<s:a href="%{Seats}">
								<s:property value="Show1" />
							</s:a>
						</h3></td>
					<td><h3>
							<s:a href="%{Seats}">
								<s:property value="Show2" />
							</s:a>
						</h3></td>
					<td><h3>
							<s:a href="%{Seats}">
								<s:property value="Show3" />
							</s:a>
						</h3></td>
					<td><h3>
							<s:a href="%{Seats}">
								<s:property value="Show4" />
							</s:a>
						</h3></td>
				</tr>
			</s:iterator>
		</table>
		<s:url value="/Booking2.jsp" var="Seats" />
	</s:form>
</body>
</html>